package com.jerome.fs.lamport;

/**
 * HTTP request event queue.
 * Represents an event in Lamport clock terminology.
 *
 * @author Jerome
 * @date 2023/8/8
 */
public class Event extends LamportClock {
    public Event(int latestTime) {
        super(latestTime);
    }

    /**
     * HTTP request method.
     */
    private String httpMethod;

    /**
     * Request content.
     */
    private String content;

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
